package com.young.quartz.service;


import com.young.quartz.domain.dto.AddJobDto;
import com.young.quartz.domain.dto.JobOpertationDto;
import com.young.quartz.domain.dto.JobSearchDto;
import com.young.quartz.domain.vo.CommonResponse;
import org.quartz.*;


import java.util.Map;

public interface JobService {

    CommonResponse addJob(AddJobDto addJobDto) throws Exception;




    Map<String,Object> getJobInfoList(JobSearchDto jobSearchDto);



    void updateJob(AddJobDto addJobDto) throws Exception;

    void pauseJob(JobOpertationDto jobOpertationDto) throws SchedulerException;

    void resumeJob(JobOpertationDto jobOpertationDto) throws SchedulerException;

    void deleteJob(JobOpertationDto jobOpertationDto) throws SchedulerException;

    void tiggerJob(JobOpertationDto dto);

}
